// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EncodingFoundException.cs" company="">
//   
// </copyright>
// <summary>
//   Defines the EncodingFoundException type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

#region

using System;
using System.Text;

#endregion

namespace NFit.Core.Html
{
    internal class EncodingFoundException : Exception
    {
        private readonly Encoding _encoding;

        internal EncodingFoundException(Encoding encoding)
        {
            _encoding = encoding;
        }

        internal Encoding Encoding
        {
            get { return _encoding; }
        }
    }
}